#!/bin/sh
#
EXPR=/bin/expr
#
if [ "$CONFIGURATION" != "Distribution" ]; then
    echo "XcodeBuildDocSet.sh: '$CONFIGURATION' is an invalid configuration" 1>&2
    exit 1
fi
#
if [ `$EXPR "$SDK_NAME" : 'iphoneos.*'` -eq 0 ]; then
    echo "XcodeBuildDocSet.sh: '$SDK_NAME' is an invalid SDK name" 1>&2
    exit 1
fi
#
exec "$SOURCE_ROOT"/BuildScripts/BuildDocSet.sh
